package com.agimatec.locators.predicate.css;

import com.agimatec.locators.predicate.LocatorStringProducer;

class CssIndex implements LocatorStringProducer {
    private int index;

    public CssIndex(int index) {
        this.index = index;
    }

    public String locatorString() {
        return ":nth-of-type(" + (index) + ")";
    }
}
